<p><b style="color:#FF0000">Thông Tin Sản Phẩm</b></p>
<form action="<?php echo base_url();?>index.php/product/<?php echo $action;?>" method="post" name="addproduct" enctype="multipart/form-data">
	<input type="hidden" name="hidID" value="<?php echo $value['id'];?>">
	<?php //var_dump($error);die;?>
	<?php echo $error;?>
	<table>
		<tr>
			<td>Tên Sản Phẩm</td>
			<td><input type="text" name="txtname" value="<?php echo $value['name'];?>" ></td>
		</tr>
		<tr>
			<td>Tóm Tắt</td>
			<td><textarea rows="10" cols="40" name="summary"><?php echo $value['summary'];?></textarea></td>
		</tr>
		<tr>
			<td>Nội Dung</td>
			<td><textarea rows="20" cols="80" name="content"><?php echo $value['content'];?></textarea></td>
		</tr>
		<tr>
			<td>Hình</td>
			<td valign="bottom"><input type="file" name="userfile">
			<img width="100px" height="100px" src="<?php echo base_url();?>upload/<?php echo $value['image'];?>" >
			</td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit" value="submit"></td>
		</tr>
	</table>
</form>